package com.zh.controller;


import com.zh.model.RestResponse;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/check")
@RestController
public class TestController {


    @GetMapping("/health")
    public RestResponse<String> checkHealth(){
        return RestResponse.ok("ok");
    }
}
